import {post } from "../http/index"; 
export const login =  (data:any) =>{
    return post({
        url:"/Authentication/Login?name=" + data.name + "&password=" + data.password
    })
}
export const logOut =  (token:string) =>{
    return post({
        url:"/Authentication/logOut?token=" + token
    })
}